﻿<%@ Page Title="" Language="C#" MasterPageFile="~/WebForms/Site.Master" AutoEventWireup="true" CodeBehind="SystemAccountManagement.aspx.cs" Inherits="DelonixRegiaHMSys.UI.WebForms.SystemAccountManagement" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="wrapper">
        <div id="content">
            <h2>System Account</h2>
            <asp:LinkButton runat="server" ID="lbtnASA" OnClick="lbtnASA_Click">Add System Account</asp:LinkButton>
            <asp:GridView ID="GridViewSA" runat="server" AutoGenerateColumns="false">
                <EmptyDataTemplate>
                    <p>
                        You are noob.
                    </p>
                </EmptyDataTemplate>
                <Columns>
                    <asp:BoundField HeaderText="UserID" DataField="userID" />
                    <asp:BoundField HeaderText="Password" DataField="password" />
                    <asp:BoundField HeaderText="AccessLevel" DataField="accessLevel" />
                    <asp:BoundField HeaderText="StaffID" DataField="staffID" />
                    <asp:BoundField HeaderText="UserStatus" DataField="userStatus" />
                    <asp:TemplateField HeaderText="Remove">
                        <ItemTemplate>
                            <asp:LinkButton ID="DeleteButton" runat="server" OnClick="DeleteButton_Click" CommandArgument='<%# Eval("userID") %>' Text="Delete" />
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
        </div>
        <div id="left">
            <h3>Welcome ___</h3>
            <p class="auto-style7">This is the List of SystemAccounts</p>
            <p>&nbsp;</p>
            <p>&nbsp;</p>
            <p>&nbsp;</p>
            <p>&nbsp;</p>
            <p>
                &nbsp;<asp:Button ID="MainpageButton" runat="server" Height="35px" Text="Mainpage" Width="89px" OnClick="MainpageButton_Click" />
            </p>
        </div>
        
        <div class="clear"></div>
    </div>
</asp:Content>
